package exercise03;

/**
 * 用户类
 */
public class User {
    private String loginName;//登录名
    private String password;//密码
    public User() {}
    public User(String loginName, String password) {
        this.loginName = loginName;
        this.password = password;
    }
    public String getLoginName() {
        return loginName;
    }
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
}
